<!doctype html>
<html>

	<head>
		<meta charset="UTF-8">
		<title></title>
		<meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no" />
		<link href="../css/mui.min.css" rel="stylesheet" />
		<link rel="stylesheet" type="text/css" href="../css/app.css" />
		<style>
			.mui-bar a {
				color: #fff;
			}
		</style>
	</head>

	<body>
		<header class="mui-bar mui-bar-nav">
			<a class="mui-action-back mui-icon mui-icon-left-nav mui-pull-left"></a>
			<h1 class="mui-title"></h1>
		</header>
		<div class="mui-content">
			<div class="mui-card">
				
			</div>
		</div>
		<script src="../lib/mui.min.js"></script>
		<script type="text/javascript" src="../lib/jquery-1.11.0.js"></script>
		<script type="text/javascript" src="../lib/service.js"></script>
		<script type="text/javascript">
			mui.init()
			mui.plusReady(function() {
				var data = JSON.parse(plus.webview.currentWebview().parms)
				$('.mui-title').html(data.title)
				var type = data.url.split('?')[1].split('=')[1]
				var url = data.url.split('?')[0]
				getServer(url, $.param({key:type}), function(res) {
					console.log(JSON.stringify(res))
					$('.mui-card').html(res.data.webSet.value)
				});
			})
		</script>
	</body>

</html>